428101a4dd25f8359da156ff06288c7018cd94f1,services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java,WSDiscoveryServiceImpl,update,#Map#,88
Before Change
public final synchronized void update(Map<String, Object> props) {
String address = (String)props.get("org.apache.cxf.service.ws-discovery.address");
client.setAddress(address);
if (udpEndpoint != null && !client.isAdHoc()) {
udpEndpoint.stop();
udpEndpoint = null;
After Change
public final synchronized void update(Map<String, Object> props) {
String address = (String)props.get("org.apache.cxf.service.ws-discovery.address");
if (address != null) {
client.setAddress(address);
}
if (udpEndpoint != null && !client.isAdHoc()) {
udpEndpoint.stop();